import { koa } from '@/service/config'


export function getNavListApi() {
  return koa.get({
    url: `/nav/list`,
  })
}

export function getNavSaveApi(data) {
  return koa.post({
    url: `/nav/save`,
    data
  })
}

export function getNavUpdateApi(data) {
  return koa.patch({
    url: `/nav/update`,
    data
  })
}

export function getDeleteNavApi(data) {
  return koa.delete({
    url: `/nav/delete`,
    data
  })
}

